package com.bss.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.andy.basics.Dao;
import com.bss.dao.MaterialDao;
import com.bss.model.Material;

@Service
@Scope("session")
public class MaterialService extends com.andy.basics.Service<Material> {

	@Autowired
	private MaterialDao materialDao;

	@Override
	public Dao<Material> getDao() {
		return materialDao;
	}

	public void setMaterialDao(MaterialDao materialDao) {
		this.materialDao = materialDao;
	}

}
